package com.imooc.myo2o.web;

import java.util.List;
import java.util.Map;

import com.sun.javafx.binding.StringFormatter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.imooc.myo2o.entity.Area;
import com.imooc.myo2o.service.AreaService;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class AreaController {

	Logger logger = LoggerFactory.getLogger(AreaController.class);
	@Autowired
	private AreaService areaService;
	
	//获取区域列表
	@RequestMapping(value="/index2",method=RequestMethod.GET)
	public String queryArea(){


		return  "frontend/index2";

	}

}
